Completed
Push — master ( 434e73...271bd5 )
by
unknown
02:13
created

util.js ➔ describe(ꞌUtilꞌ)   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 11
rs 9.4285
nop 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A util.js ➔ ... ➔ it(ꞌcoreUtils.text.replaceUnwantedCharꞌ) 0 4 1
1
var chai = require('chai');
2
var coreUtils = require('../src/cli').coreUtils
3
4
describe('Util', function() {
5
6
  /**
7
   * coreUtils.text.replaceUnwantedChar
8
   * 
9
   */
10
  it('coreUtils.text.replaceUnwantedChar', function() {
11
  	var list = coreUtils.text.replaceUnwantedChar('Š')
12
  	chai.expect(list.indexOf('Š')).to.equal(-1);
13
  });
14
});
15